import $config from '@/config/config.js'
import request from './request.js'
let baseURL = $config.baseUrl
export const api = {

	// 获取验证码
	guest: {
		url: baseURL + '/api/public/guest',
		method: 'GET'
	},
	// 登录
	login: (params) => {
		return request(params)
	},
	// 登录
	getData: (baseURL, params) => {
		return request(baseURL, params)
	},
	_getData: (baseURL, params) => {
		return request(baseURL, params)
	},
	// 解密
	decryptData: (baseURL, params) => {
		return request(baseURL, params)
	}
}